package com.sdk4.jinritemai.model.request;

import com.sdk4.jinritemai.DoudianRequest;
import com.sdk4.jinritemai.model.response.DoudianFreightTemplateListResponse;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DoudianFreightTemplateListRequest implements DoudianRequest<DoudianFreightTemplateListResponse> {
    private final String method = "freightTemplate.list";

    /**
     * 运费模板名称，支持模糊搜索
     */
    private String name;

    /**
     * 页数（默认为0，第一页从0开始）
     */
    private Integer page = 0;

    /**
     * 每页模板数（默认为10）
     */
    private Integer size = 10;

    @Override
    public Class<DoudianFreightTemplateListResponse> getResponseClass() {
        return DoudianFreightTemplateListResponse.class;
    }
}
